/// <summary>
/// These are the low-level API functions that Game Maker will
/// call in order to get information from or perform actions
/// on RoketPack.
/// </summary>

#pragma unmanaged

#ifdef ROKETPACKGM_EXPORTS
#define ROKETPACKGM_API __declspec(dllexport)
#else
#define ROKETPACKGM_API __declspec(dllimport)
#endif

ROKETPACKGM_API double __cdecl RP_RoketPackIsAvailable();
ROKETPACKGM_API double __cdecl RP_ApplicationIsInstalled(const char* repository, const char* application);
ROKETPACKGM_API double __cdecl RP_ComponentIsInstalled(const char* repository, const char* application, const char* component);
ROKETPACKGM_API double __cdecl RP_ComponentInstall(const char* repository, const char* application, const char* component);
ROKETPACKGM_API double __cdecl RP_ComponentUpdate(const char* repository, const char* application, const char* component);
ROKETPACKGM_API double __cdecl RP_ComponentUninstall(const char* repository, const char* application, const char* component);
ROKETPACKGM_API double __cdecl RP_VersionIsLatest(const char* repository, const char* application, const char* component);
ROKETPACKGM_API double __cdecl RP_MiscellaneousCallUrl(const char* url);
